package com.whenjun.dto.kq;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.whenjun.config.fastexcel.MinutesToHoursConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ExcelIgnoreUnannotated
public class KqV2DTO implements Serializable {

    @ApiModelProperty("isc用户id")
    private String personId;

    @ApiModelProperty("姓名")
    @ExcelProperty(value = "姓名")
    private String personName;

    @ApiModelProperty("性别")
    @ExcelProperty(value = "性别")
    private String sex;

    @ApiModelProperty("工号")
    @ExcelProperty(value = "工号")
    private String jobNo;

    @ApiModelProperty("年龄")
    @ExcelProperty(value = "年龄")
    private String age;

    @ApiModelProperty("工龄")
    @ExcelProperty(value = "工龄")
    private String workAge;

    @ApiModelProperty("应到")
    @ExcelProperty(value = "应到")
    private Integer shouldArrive;

    @ApiModelProperty("实到")
    @ExcelProperty(value = "实到")
    private Integer actualArrive;

    @ApiModelProperty("迟到次数")
    @ExcelProperty(value = "迟到次数")
    private Integer lateCount;

    @ApiModelProperty("迟到累计时间（当月）")
    @ExcelProperty(value = "迟到累计时间（当月）", converter = MinutesToHoursConverter.class)
    private Integer lateSumTime;

    @ApiModelProperty("早退次数")
    @ExcelProperty(value = "早退次数")
    private Integer earlyCount;

    @ApiModelProperty("早退累计时间（当月）")
    @ExcelProperty(value = "早退累计时间（当月）", converter = MinutesToHoursConverter.class)
    private Integer earlySumTime;

    @ApiModelProperty("应签次数（签到+签退）")
    @ExcelProperty(value = "应签次数（签到+签退）")
    private Integer shouldSignCount;

    @ApiModelProperty("签到次数")
    @ExcelProperty(value = "签到次数")
    private Integer signCount;

    @ApiModelProperty("签退次数")
    @ExcelProperty(value = "签退次数")
    private Integer signOutCount;

    @ApiModelProperty("未签到次数")
    @ExcelProperty(value = "未签到次数")
    private Integer noSignCount;

    @ApiModelProperty("未签退次数")
    @ExcelProperty(value = "未签退次数")
    private Integer noSignOutCount;

    @ApiModelProperty("旷工次数")
    @ExcelProperty(value = "旷工次数")
    private Integer absenteeismCount;

    @ApiModelProperty("日常旷工时间1")
    @ExcelProperty(value = "日常旷工时间1", converter = MinutesToHoursConverter.class)
    private Integer absenteeismTime1;

    @ApiModelProperty("加班旷工时间1")
    @ExcelProperty(value = "加班旷工时间1", converter = MinutesToHoursConverter.class)
    private Integer jiabanAbsenteeismTime1;

    @ApiModelProperty("疑似日常旷工时间2")
    @ExcelProperty(value = "疑似日常旷工时间2", converter = MinutesToHoursConverter.class)
    private Integer absenteeismTime2;

    @ApiModelProperty("疑似加班旷工时间2")
    @ExcelProperty(value = "疑似加班旷工时间2", converter = MinutesToHoursConverter.class)
    private Integer jiabanAbsenteeismTime2;

    @ApiModelProperty("M8h夜班次数")
    @ExcelProperty(value = "M8h夜班次数")
    private Integer m8hNightCount;

    @ApiModelProperty("M12h夜班次数")
    @ExcelProperty(value = "M12h夜班次数")
    private Integer m12hNightCount;
}
